package com.qinggeng.project.system.domain.json;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class GiftConfig {

    //抽奖金额
    private BigDecimal drawPrice;

    //其他（未中奖）奖品ID
    private Long otherGiftId;

    //中奖率与利润率的比例
    private BigDecimal drawModulus;

    //最大中奖率
    private BigDecimal maxProbability;

    //是否根据利润率计算中奖率
    private boolean isByProfit;

}
